import React, { Component } from 'react'
import PubSub from 'pubsub-js'

export default class Phone extends Component {
    constructor(props){
        super(props)
        PubSub.subscribe('evt',(msg,data)=>{
            console.log(data)
        })
    }
    render() {
        return (
            <div>
                我是phone
            </div>
        )
    }
}
